package po.entity;

import po.enums.Operator;
import po.enums.RuleType;
import po.tree.Node;
import po.tree.ResultNode;

/**
 * Created by guowei on 2019/6/9.
 */
public interface Operatable {
    RuleType getType();
    void setNode(Node node);
    Node getNode();
    void operate(ResultNode rn, Operator operator) throws Exception;
    String getID();
}
